package com.example.myapplication.guide

import android.content.Context
import android.view.View
import androidx.databinding.DataBindingUtil
import com.example.myapplication.R
import com.example.myapplication.databinding.ViewGuideSlideLeftMessageBinding

/**
 * @description: 左滑清屏
 *
 * @author: wangrongfeng
 *
 * @create: 2023-05-06 18:06
 **/
class GuideSlideMessageView(context: Context) : BaseGuideView(context) {
    var binding : ViewGuideSlideLeftMessageBinding? = null
    init {
        binding = DataBindingUtil.bind( View.inflate(context, R.layout.view_guide_slide_left_message, this))
    }

    override fun playAnimation() {
        binding!!.lottieAnimation.playAnimation();
    }

    override fun cancelAnimation() {
        binding!!.lottieAnimation.cancelAnimation();
    }

}